import request from "@/utils/request";
import { EventExhibitionSectionTempQuery, EventExhibitionSectionTempPageResult, EventExhibitionSectionTempForm, EventExhibitionSectionTemp } from "./model";

/**
 * 机构栏目详情API
 */
class EventExhibitionSectionTempAPI {



  /**
   * 新增机构栏目详情
   *
   * @param data
   */
  static add(data: EventExhibitionSectionTempForm) {
    return request({
      url: "/eventExhibitionSectionTemp/add",
      method: "post",
      data: data,
    });
  }
  /**
   * 修改机构栏目详情
   * @param data 
   * @returns 
   */
  static saveBatch(data: EventExhibitionSectionTempForm[]) {
    return request({
      url: "/eventExhibitionSectionTemp/saveBatch",
      method: "post",
      data: data,
    });
  }

  /**
   * 删除机构栏目详情
   * @param data 
   * @returns 
   */
  static delete(data: EventExhibitionSectionTempForm) {
    return request({
      url: "/eventExhibitionSectionTemp/delete",
      method: "post",
      data: data,
    });
  }
  /**
   * 获取机构栏目详情列表
   * @param data 
   * @returns 
   */
  static getList(data: EventExhibitionSectionTempForm) {
    return request<any, EventExhibitionSectionTemp[]>({
      url: "/eventExhibitionSectionTemp/getList",
      method: "post",
      data: data,
    });
  }

}

export default EventExhibitionSectionTempAPI;
